<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0039)http://www.dreamfabric.com/sms/dcs.html -->
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<H1><A name=TP-DCS></A>Data Coding Scheme (TP-DCS)</H1>The TP-Data-Coding-Scheme 
field, defined in GSM 03.40, indicates the data coding scheme of the TP-UD 
field, and may indicate a message class. Any reserved codings shall be assumed 
to be the GSM default alphabet (the same as codepoint 00000000) by a receiving 
entity. The octet is used according to a coding group which is indicated in bits 
7..4. The octet is then coded as follows: 
<BLOCKQUOTE>
  <TABLE width="90%" border=1>
    <TBODY>
    <TR bgColor=#ffffcc>
      <TD vAlign=top align=left>Coding Group Bits 7..4</TD>
      <TD>Use of bits 3..0</TD></TR>
    <TR>
      <TD vAlign=top>00xx</TD>
      <TD>General Data Coding indication<BR>Bits 5..0 indicate the following: 
        <TABLE width="80%" border=1>
          <TBODY>
          <TR bgColor=#ffffcc>
            <TD>Bit 5</TD>
            <TD></TD></TR>
          <TR>
            <TD>0</TD>
            <TD>Text is uncompressed</TD></TR>
          <TR>
            <TD>1</TD>
            <TD>Text is compressed</TD></TR></TBODY></TABLE><BR>
        <TABLE width="80%" border=1>
          <TBODY>
          <TR bgColor=#ffffcc>
            <TD>Bit 4</TD>
            <TD></TD></TR>
          <TR>
            <TD>0</TD>
            <TD>Bits 1 and 0 are reserved and have no message class 
          meaning</TD></TR>
          <TR>
            <TD>1</TD>
            <TD>Bits 1 and 0 have a message class 
        meaning</TD></TR></TBODY></TABLE><BR>
        <TABLE width="80%" border=1>
          <TBODY>
          <TR bgColor=#ffffcc>
            <TD>Bit 3</TD>
            <TD>Bit 2</TD>
            <TD>Alphabet being used</TD></TR>
          <TR>
            <TD>0</TD>
            <TD>0</TD>
            <TD>Default alphabet</TD></TR>
          <TR>
            <TD>0</TD>
            <TD>1</TD>
            <TD>8 bit data</TD></TR>
          <TR>
            <TD>1</TD>
            <TD>0</TD>
            <TD>UCS2 (16bit)</TD></TR>
          <TR>
            <TD>1</TD>
            <TD>1</TD>
            <TD>Reserved</TD></TR></TBODY></TABLE><BR>
        <TABLE width="80%" border=1>
          <TBODY>
          <TR bgColor=#ffffcc>
            <TD>Bit 1</TD>
            <TD>Bit 0</TD>
            <TD>Message class</TD>
            <TD>Description</TD></TR>
          <TR>
            <TD>0</TD>
            <TD>0</TD>
            <TD>Class 0</TD>
            <TD>Immediate display (alert)</TD></TR>
          <TR>
            <TD>0</TD>
            <TD>1</TD>
            <TD>Class 1</TD>
            <TD>ME specific</TD></TR>
          <TR>
            <TD>1</TD>
            <TD>0</TD>
            <TD>Class 2</TD>
            <TD>SIM specific</TD></TR>
          <TR>
            <TD>1</TD>
            <TD>1</TD>
            <TD>Class 3</TD>
            <TD>TE specific</TD></TR></TBODY></TABLE>
        <P>NOTE: The special case of bits 7..0 being 0000 0000 indicates the 
        Default Alphabet as in Phase 2</P></TD></TR>
    <TR>
      <TD>0100..1011</TD>
      <TD>Reserved coding groups</TD></TR>
    <TR>
      <TD vAlign=top align=left>1100</TD>
      <TD>Message Waiting Indication Group: Discard Message 
        <P>Bits 3..0 are coded exactly the same as Group 1101, however with bits 
        7..4 set to 1100 the mobile may discard the contents of the message, and 
        only present the indication to the user.</P></TD></TR>
    <TR>
      <TD vAlign=top align=left>1101</TD>
      <TD>Message Waiting Indication Group: Store Message 
        <P>This Group allows an indication to be provided to the user about 
        status of types of message waiting on systems connected to the GSM PLMN. 
        The mobile may present this indication as an icon on the screen, or 
        other MMI indication. The mobile may take note of the Origination 
        Address for message in this group and group 1100. For each indication 
        supported, the mobile may provide storage for the Origination Address 
        which is to control the mobile indication. <BR>Text included in the user 
        data is coded in the Default Alphabet. <BR>Ehere a message is received 
        with bits 7..4 set to 1101, the mobile shall store the text of the SMS 
        message in addition to setting the indication. 
        <TABLE width="80%" border=1>
          <TBODY>
          <TR bgColor=#ffffcc>
            <TD>Bit 3</TD>
            <TD>Description</TD></TR>
          <TR>
            <TD>0</TD>
            <TD>Set Indication Inactive</TD></TR>
          <TR>
            <TD>1</TD>
            <TD>Set Indication Active</TD></TR></TBODY></TABLE>
        <P>Bit 2 is reserved, and set to 0 
        <TABLE width="80%" border=1>
          <TBODY>
          <TR bgColor=#ffffcc>
            <TD>Bit 1</TD>
            <TD>Bit 0</TD>
            <TD>Indication Type</TD></TR>
          <TR>
            <TD>0</TD>
            <TD>0</TD>
            <TD>Voicemail Message Waiting</TD></TR>
          <TR>
            <TD>0</TD>
            <TD>1</TD>
            <TD>Fax Message Waiting</TD></TR>
          <TR>
            <TD>1</TD>
            <TD>0</TD>
            <TD>Electronic Mail Message Waiting</TD></TR>
          <TR>
            <TD>1</TD>
            <TD>1</TD>
            <TD>Other Message Waiting*</TD></TR></TBODY></TABLE>
        <P>* Mobile manufacturers may implement the "Other Message Waiting" 
        indication as an additional indication without specifying the meaning. 
        The meaning of this indication is intended to be standardized in the 
        future, so Operators should not make use of this indication until the 
        standard for this indication is finalized.</P></TD></TR>
    <TR>
      <TD vAlign=top align=left>1110</TD>
      <TD>Message Waiting Indication Group: Store Message 
        <P>The coding of bits 3..0 and functionality of this feature are the 
        same as for the Message Waiting Indication Group above, (bits 7..4 set 
        to 1101) with the exception that the text included in the user data is 
        coded in the uncompressed UCS2 alphabet.</P></TD></TR>
    <TR>
      <TD vAlign=top align=left>1111</TD>
      <TD>Data coding/message class
        <P>Bit 3 is reserved, set to 0. 
        <TABLE width="80%" border=1>
          <TBODY>
          <TR bgColor=#ffffcc>
            <TD>Bit 2</TD>
            <TD>Message coding</TD></TR>
          <TR>
            <TD>0</TD>
            <TD>Default alphabet</TD></TR>
          <TR>
            <TD>1</TD>
            <TD>8-bit data</TD></TR></TBODY></TABLE><BR>
        <TABLE width="80%" border=1>
          <TBODY>
          <TR bgColor=#ffffcc>
            <TD>Bit 1</TD>
            <TD>Bit 0</TD>
            <TD>Message Class</TD>
            <TD>Description</TD></TR>
          <TR>
            <TD>0</TD>
            <TD>0</TD>
            <TD>Class 0</TD>
            <TD>Immediate display (alert)</TD></TR>
          <TR>
            <TD>0</TD>
            <TD>1</TD>
            <TD>Class 1</TD>
            <TD>ME specific</TD></TR>
          <TR>
            <TD>1</TD>
            <TD>0</TD>
            <TD>Class 2</TD>
            <TD>SIM specific</TD></TR>
          <TR>
            <TD>1</TD>
            <TD>1</TD>
            <TD>Class 3</TD>
            <TD>TE 
specific</TD></TR></TBODY></TABLE></P></TD></TR></TBODY></TABLE></BLOCKQUOTE></BODY></HTML>
